package com.example.springevent.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 异步事件 - 将被异步处理
 */
@Getter
public class AsyncEvent extends ApplicationEvent {
    
    private final String message;
    public AsyncEvent(Object source, String message) {
        super(source);
        this.message = message;
    }
}